import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue'
import VueRouter from 'vue-router'
import routes from './router/router.js'
import store from './store/index.js'
Vue.use(ElementUI);
Vue.use(VueRouter);
Vue.prototype.$axios = require('./tools/api.js').axios;
const router = new VueRouter({
    routes: routes,
})
new Vue({
  el: '#app',
    router,
    store,
    render: h => h(App)
})
